package com.tomcov.client.view;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Anchor;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.Label;

public class HeaderViewImpl extends Composite implements HeaderView{

	
	@SuppressWarnings("unused")
	private Presenter presenter;
	private static final MyUiBinder binder = GWT.create(MyUiBinder.class);
	interface MyUiBinder extends UiBinder<FlowPanel, HeaderViewImpl> {
	}
	@UiField Label Map,MessageOut,MessageIn,newMessage,Myjourney,Settings;
	@UiField Anchor Logout;
	
	public HeaderViewImpl(){
		initWidget(binder.createAndBindUi(this));
	}

	
	@Override
	public void setPresenter(Presenter presenter) {
		this.presenter=presenter;
	}
	
	@Override
	public Label getMapLabel() {
		return Map;
	}
	
	@Override
	public Anchor getLogoutLabel() {
		return Logout;
	}

	@Override
	public Label getMessageOutLabel() {
		return MessageOut;
	}
	@Override
	public Label getMessageInLabel() {
		return MessageIn;
	}
	public Label getnewMessageLabel() {
		return newMessage;
	}

	@Override
	public Label getSettingsLabel() {
		return Settings;
	}

	@Override
	public Label getMyjourneyLabel() {
		return Myjourney;
	}

}
